package com.example.pkmedical.Activity.weight.options;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.pkmedical.APP.MyApp;
import com.example.pkmedical.Activity.weight.weightdevice.WeightPineBedActivity;
import com.example.pkmedical.Base.BaseActivity;
import com.example.pkmedical.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class OptionRemindActivity extends BaseActivity {

    @BindView(R.id.weight_bed_yes_button)
    Button weightBedYesButton;
    @BindView(R.id.weight_bed_cancle_button)
    Button weightBedCancleButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_optionaddbed);
        ButterKnife.bind(this);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {

    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void showDialog(String... msg) {

    }

    @OnClick({R.id.weight_bed_yes_button, R.id.weight_bed_cancle_button})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.weight_bed_yes_button:
                Intent intent = new Intent();
                intent.putExtra("jumpYtpe", 1);
                intent.setClass(MyApp.getAppContext(), WeightPineBedActivity.class);
                startActivity(intent);
//                overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
                break;
            case R.id.weight_bed_cancle_button:
                finish();
                break;
        }
    }
}
